package com.jessechanrui.template.skeleton.domain.demo.support.repository;

import com.jessechanrui.template.skeleton.domain.demo.entity.Demo;

import java.util.List;

/**
 * 示例仓储
 * @author chenrui
 * @date 2024/1/30
 */
public interface DemoRepository {
    Demo save(Demo demo);
    Demo getById(int id);
    List<Demo> getAll();
}
